package com.peas.platform.module.icims.base.approve.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.base.approve.adapter.repository.ApproveOrderNodeRepository;
import com.peas.platform.module.icims.base.approve.adapter.repository.po.ApproveOrderNodePo;
import com.peas.platform.module.icims.base.approve.domain.ApproveOrderNodeDomain;
import com.peas.platform.module.icims.base.approve.dto.ApproveOrderNodeDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ApproveOrderNodeDomainImpl extends BaseDomainImpl<ApproveOrderNodeDto, ApproveOrderNodePo> implements ApproveOrderNodeDomain {

    @Resource
    private ApproveOrderNodeRepository approveOrderNodeRepository;

    @Override
    public BaseRepository<ApproveOrderNodePo> getMapper() {
        return approveOrderNodeRepository;
    }

    @Override
    public Class<? extends BaseRepository<ApproveOrderNodePo>> getRepositoryClass() {
        return ApproveOrderNodeRepository.class;
    }

}
